function attachEventUploadAutoSubmit() {
    document.getElementById('file').onchange = function() {
        actionUploadSubmit(this.parentNode);
    };
}
function actionUploadSubmit(form) {
    form.submit();
    return true;
}
